<%-- 
    Document   : ProductView
    Created on : Feb 25, 2014, 6:20:53 PM
    Author     : Viet Hung
--%>

<%@page import="entity.Product"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Product search result!</h1>
        <%
        Product pr=(Product)request.getAttribute("Product");
        
        %>
        Product ID: <%= pr.getProductId().toString() %><br />
        Product Des: <%= pr.getDescription().toString() %><br />
        Product Purchase: <%= pr.getPurchaseCost().toString() %>
        Session: <% session.getAttribute("Username").toString(); %>
    </body>
</html>
